package com.liyiqing.secondhandmall.productservice.dao;

import com.liyiqing.secondhandmall.productservice.entity.ProductSpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * spu商品信息
 * 
 * @author LiYiQing
 * @email 1570865668@qq.com
 * @date 2022-02-18 23:36:20
 */
@Mapper
public interface ProductSpuInfoDao extends BaseMapper<ProductSpuInfoEntity> {

    List<Long> selectAllProductId();

    List<Long> selectProductIdByMemberId(Long memberId);

    List<Long> selectProductIdByGroupId(Long groupId);

    List<Long> selectProductLikeKeyword(String keyword);
}
